﻿app.config(function ($routeProvider, $httpProvider) {
    $httpProvider.interceptors.push("AuthInterceptor");
    $routeProvider.when("/", {
        templateUrl: "/App_Web/Views/ngHome.html",
        controller: "ngHomeController"
    }).when("/set/:id", {
        templateUrl: "/App_Web/Views/ngHome.html",
        controller: "ngHomeController"
    }).when("/ngGraphList", {
        templateUrl: "App_Web/Views/ngGraphList.html",
        controller: "ngGraphListController"
    }).otherwise({
        templateUrl: "/App_Web/Views/ngHome.html",
        controller: "ngHomeController"
    })
});